Insertion Sort

Builds the sorted array one element at a time by inserting each element into its correct position.